<%@page import="youleche.com.controler.controler.PageDataForBussinessControler"%>
<%@page import="java.util.List"%>
<%@page import="youleche.com.model.MVehicleImageInfo"%>
<%@ page language="java" contentType="text/html;charset=UTF-8"
    pageEncoding="UTF-8"%>
	<% 
		List<MVehicleImageInfo> homelist = PageDataForBussinessControler.getHomeImageInfoForLunBo();
		if(homelist == null){
			return;
		}
	%>
	<div class="flexslider" style="border:1px solid red;">
		<ul class="slides"> 
		   <%
			for(MVehicleImageInfo img : homelist){%>
				<li> <img src="<%=img.getImagePath() %>" style="border:1px solid blue;width:100%;height:100%;"/></li>
			<%}
		%> 
		</ul>
	</div>
	<script type="text/javascript" charset="utf-8">
  $(window).load(function() {
    $('.flexslider').flexslider({
    	controlNav: false
    });
  });
</script>